Platform Explorer / Nuxeo Platform 6.0

Component org.nuxeo.ecm.multi.tenant.core.types

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.multi.tenant.core.types">

  <require>org.nuxeo.ecm.core.CoreExtensions</require>
  <require>org.nuxeo.ecm.directory.types</require>
  <require>org.nuxeo.ecm.platform.types.local.configuration</require>
  <require>org.nuxeo.ecm.platform.content.view.local.configuration</require>

  <extension target="org.nuxeo.ecm.core.schema.TypeService"
      point="schema">
    <schema name="tenantconfig" prefix="tenantconfig" src="schemas/tenantconfig.xsd"/>

    <!-- override default user schema -->
    <schema name="user" src="schemas/multi_tenant_user.xsd" override="true"/>
    <!-- override default group schema -->
    <schema name="group" src="schemas/multi_tenant_group.xsd" override="true"/>

    <!-- multi tenant vocabulary -->
    <schema name="multitenantvocabulary" src="schemas/multi_tenant_vocabulary.xsd"/>
    <schema name="multitenantxvocabulary" src="schemas/multi_tenant_xvocabulary.xsd"/>
    <schema name="multitenantl10nvocabulary" src="schemas/multi_tenant_l10nvocabulary.xsd"/>
    <schema name="multitenantl10nxvocabulary" src="schemas/multi_tenant_l10nxvocabulary.xsd"/>
  </extension>

  <extension target="org.nuxeo.ecm.core.schema.TypeService"
    point="doctype">
    <facet name="TenantConfig">
      <schema name="tenantconfig" />
    </facet>

    <doctype name="Domain" extends="Folder">
      <schema name="domain" />
      <facet name="SuperSpace" />
      <facet name="UITypesLocalConfiguration" />
      <facet name="ContentViewLocalConfiguration" />
      <facet name="SearchConfiguration" />
      <subtypes>
        <type>WorkspaceRoot</type>
        <type>SectionRoot</type>
        <type>TemplateRoot</type>
      </subtypes>
    </doctype>
  </extension>
</component>